package com.hyt.it.ogt.kq.service.gov.model.xml.examsys.gce;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Chengxh
 * @since 2021-08-14
 */
@Data
@Accessors(chain = true)
@XStreamAlias("Result")
@ApiModel(value="获取服务器时间返回结果", description="获取服务器时间返回结果")
public class ServerTimeResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @XStreamAlias("Flag")
    @ApiModelProperty(value = "是否成功标记，0：成功，1：失败")
    private int flag;

    @XStreamAlias("DateTime")
    @ApiModelProperty(value = "时间（字符串形式）")
    private String time;

}
